﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inovout.Web.Security
{
    public class AccessTokenInfo
    {
        public string Code { get; set; }
        public string AccessToken { get; set; }
        public string AccessTokenExpiredTime { get; set; }
        public string RefreshToken { get; set; }
        public string RefreshTokenExpiredTime { get; set; }
        public JObject ExtraData { get; set; }

        public AccessTokenInfo(JObject tokenObject)
        {
            this.ExtraData = tokenObject;
        }
    }
}
